<?php
/*
Template Name: Open Sourcerer
*/
?>
<?php get_header(); ?>
<div id="content"><!-- Begin Content -->
	<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
    	<div class="article">
    	    <div class="inside">
            	<h2>
            	    <a href="<?php the_permalink(); ?>"><?php the_title(); ?></a>
            	</h2>        	    
            	<?php the_content(); ?>
            	<div class="postmeta">
            	    <?php the_time('F jS, Y'); ?> | <?php the_author(); ?> | <?php the_tags('Tags: ', ', ', '.<br />'); ?>
            	    Categories&#58; <?php the_category(', '); ?> | Comments&#58; <?php comments_popup_link('No Comments', '1 Comment', '% Comments'); ?> <?php edit_post_link('Edit this entry', '| ', ''); ?>
            	</div>
                <div class="comments">
                    <?php comments_template(); ?>
                </div>
            </div>
        </div>
    <?php endwhile; else: ?>
    	<h2>Woops...</h2>
    	<p>Sorry, no posts we're found.</p>
	<?php endif; ?>
	<p>
	    <?php posts_nav_link(); ?>
	</p>
</div><!-- End Content -->
<?php get_sidebar(); ?>
<?php get_footer(); ?>